package cn.demoncat.util.lang.entity;

/**
 * Long 包装对象
 *
 * @author 延晓磊
 * @since 2023年09月06日
 */
public class LongWrapper extends Wrapper<Long>{

    public LongWrapper() {
        super(0L);
    }

    public LongWrapper(Long value) {
        super(value);
    }

    /**
     * 递增
     *
     * @return
     */
    public Long incr(){
        this.value ++;
        return this.value;
    }

    /**
     * 递增
     *
     * @return
     */
    public Long incr(long num){
        this.value += num;
        return this.value;
    }
}
